package com.itheima.service.mongo;

import com.itheima.domain.mongo.Video;
import com.itheima.domain.vo.PageBeanVo;

public interface VideoService {

    //查看动态列表
    PageBeanVo findVideoByPage(Long userId ,Integer pageNum , Integer pageSize);

    //发布视频
    void saveVideo(Video video);

    //查看视频列表
    PageBeanVo findVideoList(Long userId ,Integer pageNum ,Integer pageSize);
}
